package com.prs.crm.service.oa;

import java.io.File;
import java.util.Collection;

import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.OaTask;
import com.prs.crm.domain.oa.OaTaskSubmit;
import com.prs.crm.service.BaseService;

public interface OaTaskSubmitService extends BaseService<OaTaskSubmit>{
	public void saveOaTaskSubmit(OaTaskSubmit submit,File file,String fileName);
	Collection<OaTaskSubmit> getExecuteTask(Person person);
	Collection<OaTaskSubmit> getAuditTask(Person person);
	Collection<OaTaskSubmit> getAuditTaskByLevel(Person person,String level);
	Collection<OaTaskSubmit> getOaTaskSubmitByTask(OaTask oaTask);
	Collection<OaTaskSubmit> getOverdueOaTaskSubmit(Person person);
	Collection<OaTaskSubmit> getExecuteTaskByLevel(Person person,String level);
}
